import { EnumplatFrom } from "../Sdk/EnumplatFrom";
import SdkTool from "../Sdk/SdkTool";

export default class UrlEnum {
    public static openUrl: string = ``;
    public static socketip: string = ``;
    public static httpUrl: string = ``;
    public static get resUrl(): string {
        if (SdkTool.ins.platform == EnumplatFrom.PC) {
            return `http://192.168.0.118:9090/`;
        } else {
            return `https://static.hnrw.vip/acq/link/`;
        }
    }
    public static get imageUrl(): string {
        return UrlEnum.resUrl + "res/image/";
    }
    public static get spineUrl(): string {
        return UrlEnum.resUrl + "res/spine/";
    }
}